<template>
  <q-layout view="hHh lpR lFr">

    <q-page-container>
      <router-view />
    </q-page-container>

    <copyright isDark />

  </q-layout>
</template>

<script>
import { defineComponent, ref } from 'vue';
import { useMeta } from 'quasar';
import { useStore } from 'stores/store';
import copyright from 'components/copyright.vue';

export default defineComponent({
  name: 'shareLayout',
  components: {
    copyright
  },
  setup (props, context) {
    const $store = useStore();
    useMeta({
      // 设置文件标题
      title: `${$store.siteConfig.appName} - 木多鱼系列`,
      meta: {
        description: {
          name: 'description',
          content: $store.siteConfig.description || $store.siteConfig.subTitle
        }
      }
    });
  }
});
</script>
